namespace DemoWebapi01.Models
{
    public class CreateRoleRequest
    {
        public string RoleName { get; set; }
        public string? Description { get; set; }
    }

    public class UpdateRoleRequest
    {
        public string? RoleName { get; set; }
        public string? Description { get; set; }
    }

    public class AssignRoleRequest
    {
        /// <summary>
        /// 要分配的角色名
        /// </summary>
        public string? RoleName { get; set; }

        /// <summary>
        /// 操作人名称
        /// </summary>
        public string? OperatorName { get; set; }
    }

    public class RemoveRoleRequest
    {
        /// <summary>
        /// 要移除的角色名
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 操作人名称
        /// </summary>
        public string? OperatorName { get; set; }
    }
}